package com.kws.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kws.system.api.domain.Rq.CreateDeliverAddressRq;
import com.kws.system.domain.SysDeliveryAddress;
import com.kws.system.domain.info.QueryDeliveryAddressInfo;
import com.kws.system.domain.vo.UpdateDeliveryAddressRq;

public interface SysDeliveryAddressService extends IService<SysDeliveryAddress> {
    Page<QueryDeliveryAddressInfo> queryDeliveryAddressPage(Integer pageNum, Integer pageSize, String consigneeName);

    boolean createDeliverAddress(CreateDeliverAddressRq rq);

    QueryDeliveryAddressInfo queryDeliveryAddressById(Long id);

    boolean updateDeliveryAddress(UpdateDeliveryAddressRq rq);

    boolean deleteDeliveryAddressById(Long id);
}
